package wangxiaotao.enums;


import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum BedType {
    BIGBED("特大床","1张2米特大床"),
    SIMPLEBED("大床","1张1.8米大床"),
    DOUBLEBED("双床","2张1.5米大床");

    @EnumValue
    private final String name;

    @JsonValue
    private final String desc;

    BedType(String name, String desc) {
        this.name = name;
        this.desc = desc;
    }
}
